﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MobilTomegSzerver.Helpers
{
    public static class SessionHelper
    {
        public static bool LoginSession
        {
            get
            {
                try
                {
                    return (bool)HttpContext.Current.Session["login"];
                }
                catch
                {
                    return false;
                }
            }
            set
            {
                HttpContext.Current.Session["login"] = value;
            }
        }
    }
}